package baiqitun.netfiles.service.impl;

import baiqitun.netfiles.entity.SysMapping;
import baiqitun.netfiles.service.SysMappingService;
import org.springframework.stereotype.Service;

@Service
public class SysMappingServiceImpl extends EntityServiceImpl<SysMapping> implements SysMappingService {
    @Override
    public void save(SysMapping entity) {
        saveObject(formatKey(entity.getId()), entity);
        saveObject(formatKey(entity.getPath()), entity);
    }
}
